What does it means? [c#]

Posted by masoud ramezani on Stack Overflow See other posts from Stack Overflow or by masoud ramezani
Published on 2010-04-17T12:51:21Z Indexed on 2010/04/17 12:53 UTC
Read the original article Hit count: 249

Filed under:
|
|
|

If we define a property as public property and in this property we have a protected getter. what does it means? if property is public, what does defining a protected getter for that, means? please see below code:

    public ISessionFactory SessionFactory
    {
        protected get { return sessionFactory; }
        set { sessionFactory = value; }
    }

© Stack Overflow or respective owner

Related posts about c#

Related posts about public